# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=xcompmgr
pkgver=1.1.9
pkgrel=0
pkgdesc="Composite Window-effects manager for X.org"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libxcomposite-dev libxdamage-dev libxrender-dev libxext-dev"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/releases/individual/app/xcompmgr-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
699117492af7fd84b36d317dcbf422d5ec86a7f21e29370caa737cd940d8ff866a5c8704ba2e7bd17a64e085d77fd23b628263d619813dead85cd669ff5b860e  xcompmgr-1.1.9.tar.xz
"
